package jam.beans;

import java.io.Serializable;
import java.util.Date;

public class LocationInstance implements Serializable {

  private static final long serialVersionUID = 1L;

  public LocationInstance() {
    super();
  }

  public LocationInstance(String driverId, Date date, Location location, String shuttleId, String routeId, boolean enRoute, boolean running) {
    super();
    this.driverId = driverId;
    this.time = date;
    this.location = location;
    this.shuttleId = shuttleId;
    this.routeId = routeId;
    this.enRoute = enRoute;
    this.running = running;
    
  }

  private String driverId;
  private Date time;
  private Location location;
  private String shuttleId;
  private String routeId;
  private boolean enRoute;
  private boolean running;
  

  public Date getTime() {
    return time;
  }

  public void setTime(Date time) {
    this.time = time;
  }

  public String getShuttleId() {
    return shuttleId;
  }

  public void setShuttleId(String shuttleId) {
    this.shuttleId = shuttleId;
  }

  public String getDriverId() {
    return driverId;
  }

  public void setDriverId(String driverId) {
    this.driverId = driverId;
  }

  public String getRouteId() {
    return routeId;
  }

  public void setRouteId(String routeId) {
    this.routeId = routeId;
  }

  public Location getLocation() {
    return location;
  }

  public void setLocation(Location location) {
    this.location = location;
  }

  public boolean isEnRoute() {
    return enRoute;
  }

  public void setEnRoute(boolean enRoute) {
    this.enRoute = enRoute;
  }

  public boolean isRunning() {
    return running;
  }

  public void setRunning(boolean running) {
    this.running = running;
  }

}
